home *** CD-ROM | disk | FTP | other *** search
- package javax.swing.plaf.basic;
-
- import java.awt.event.ActionEvent;
- import java.awt.event.FocusAdapter;
- import java.awt.event.FocusEvent;
- import javax.swing.plaf.basic.BasicComboBoxUI.PropertyChangeHandler;
-
- final class BasicComboBoxUI$2 extends FocusAdapter {
- // $FF: synthetic field
- private final BasicComboBoxUI.PropertyChangeHandler this$1;
-
- // $FF: synthetic method
- BasicComboBoxUI$2(BasicComboBoxUI.PropertyChangeHandler var1) {
- this.this$1 = var1;
- }
-
- public void focusLost(FocusEvent var1) {
- Object var2 = PropertyChangeHandler.access$0(this.this$1).comboBox.getEditor().getItem();
- if (!var1.isTemporary() && var2 != null && !var2.equals(PropertyChangeHandler.access$0(this.this$1).comboBox.getSelectedItem())) {
- PropertyChangeHandler.access$0(this.this$1).comboBox.actionPerformed(new ActionEvent(PropertyChangeHandler.access$0(this.this$1).editor, 0, ""));
- }
-
- }
- }
-